fixed problem with blocking on unstarted tasks.