https://issues.apache.org/jira/browse/AMQ-3653 Fix the test so that there's time for the Ack to be processed before the connection is closed otherwise it can be missed.