Correctly stopping and starting the listeners

 * still missing last lines of sockets when stopping

Signed-off-by: Stephan Hagemann <stephan@pivotallabs.com>