Using settable future to wait for completion. The value of settable futu...

...re is set on scheduled task callback completion. Fixes #40