Otherwise we might be waiting for the lock on the main loop (for example in the ->render vmethod) and thus we will deadlock.