adding emergency reset if operation times out