Fixed forking timeout issue and log levels in task poller