Improve error diagnostics by reporting what killed the selector thread