Fixed os_yield

os_yield blocks process now if it was in running state (originally:
ready state)