IO manager changes, still have to fix a race condition.

There has to be a protocol between the IO manager and the schedulable task that
registered the file descriptor, to make sure that the IO manager knows when
the task has taken care of the event itself.