Try threading this to avoid blocking the reactor