unjoin and send task function