Own method to stop the lunch_server thread (send the stop call)

*In preparation for IPv6, where 127.0.0.1 does not work
*as Cornelius suggested I'm checking if there is anything to stop

+minor fixes