process wait, wait for a socket to be ready (with a lot of funny semaphore :P )
merging