Fix some references to removed scheduler.execute
Move task execution to own thread to handle signals/ctrl-c gracefully