Added a closeChannel function
No longer quits after reading weighin. True Daemon achieved