moving signal connectors out or server, adding code to stop setInterval() in server.shutdown()