Migrate Dispatch to cocaine::synchronized.