Added retry policy

Added retry policy.

TODO:// Better Thread pool management 
1) If a thread is dead there is no way to reincarnate
2) cancel all works but start does not works because start( ) method is called in constructor that starts Dispatchers.