Fixed deadlock caused by out of order messages

see https://github.com/RedwoodAdmin/RedwoodFramework/issues/44