change task mutex to monitor and synchronize move method