Move executor outside of lock.