Fixed (hopefully) port/address being already in use when restarted soon after shutdown
Added main)ouputs clse when shutting down.
Moved "Starting main loop" message to loggin.info (was logging.debug)