improved process blocking in IPC
small improvment to the scheduling algorithm in the process_manager