Add delay to queued events

Adding a 1ms pause before and after queueing an event prevents it from
locking the main thread and preventing world updates from being
processed and sent to the client