Method for server to stop handling connections

Also kills existing spawned greenlet connection handlers after a
timeout (1 second by default)
Call the server stop() method at exit

Should hopefully be called in all circumstances, exceptions included