Bug fix on dispatching tasks. Show connection errors.