Added a couple of 1 second sleeps to deal with issues in https://issues.apache.org/jira/browse/AMQ-4641