create a new task to handle the long running command