fixed deadlock while communicating with main process
fixed deadlock while yielding tasks