Fix State Tracking when thread stops
Fix state trackign when disconnect is called
Reduce test count
Fixed Issue where PIDFile would abort during deleting
Cleanup
Fixed Broken Test
Added ServerException. Added Default Error handling for failed requests on server side. Fixed some other minor issues