Ensure callbacks are not called synchronously