The internal state machine invokes this method when a syscall is interrupted due to a suspension, or a network error.
In case the user code is blocked on a lock, the implementation of this method should unblock it.