Stop blocking ruby during long-running operations