check for fd in _handlers before calling it

This was resulting in ugly `KeyError`