Made server turn of lamps and exit gracefully when receiving SIGINT