The handler does not handle partial reads, and most importantly, does
not handle when the pipe from the parent process is closed.
Although this should not happen during normal operation, in case of a
crash the indexer process will receive QSocketNotifier::activated events
due to 'POLLHUP' events from the underlying poll. This causes a busy
loop, as the underlying pipe status is never checked.
May fix a few instances of "100% CPU load" bug reports.