added dispatch retry
working on task
working task connection
fixed tests
check if futures are ready when dispatching
Merge branch 'fix/dispatch-retry'