Added recoveringServer for long running processes
Added tests
Split test to allow paralel execution
Thread delay does not offer real time garantees...
Removed commented code