Removed duplicate async spawn code.