added mutex to suspend in echoprocess