Fix linux poller SimultaneousError during timeout

The linux poller was not cleaning up the inserted wait_for event
when a poller timeout occurred. This fixes the SimultaneousError
when using with_timeout() (fixes #57).
Update unit tests