Auto stop server on exit

stop server if user asks to exit.