Got tanklevel3 basically working including writing to database, connection via port 10000 but not  10001
Fixed shutdown/cleanup code to stop timer thread and close sockets properly