Waiting for key upon completion