Fixed interrupt handling in pipeserve.