Fix assertion error on signal pipe overflow