Delay for allowing main thread to continue right away