Fixes bug closing connection when invalid merge mined block is submitted.