Duplicate of I want to stop the current synchronous process to stop and continue with an asynchron. Thread closed.