Need to wait for message delivery. Fixes TravisCI builds.