title: Terminating Flask's Internal Server in Eclipse ( Aptana Pydev)
body: <p>I am using Aptana plugin in  eclipse Luna. Pydev is already there in Aptana.</p>
  
  <p>I am doing flask development using flask's internal web server (Werkzeug/0.10.1 Python/2.7.6).</p>
  
  <p>When i run my project everything goes well but when i terminate run, my app server remain active.</p>
  
  <p>It keeps serving and when i run my project again it gives me following socket error.</p>
  
  <blockquote>
    <p>socket.error: [Errno 98] Address already in use</p>
  </blockquote>
  
  <p>Previously i was using pydev without aptana and it was working fine. Now for every run i am killing process manually which is very annoying.</p>
  
  <p>I am using ubuntu and virtualenv.</p>
  
  <p>How can i overcome this issue ? </p>
  
  <p>Thanks</p>