Flush pending messages when manipulating pipeline - fixes forge support