more stability fixes for mlaunch around restarting already initialized environments.

This failed before:

mlaunch --replicaset
mlaunch --replicaset
added a very short sleep (100ms) at the end of a stop command. There is a short period
where the process is not reachable anymore but the socket is not torn down fully yet.