code: public synchronized boolean setToSuspended()
      {
          if ( state.get() != State.STARTED )
          {
              return false;
          }
  
          if ( (currentConnectionState == ConnectionState.LOST) || (currentConnectionState == ConnectionState.SUSPENDED) )
          {
              return false;
          }
  
          currentConnectionState = ConnectionState.SUSPENDED;
          postState(ConnectionState.SUSPENDED);
  
          return true;
      }
docs: Change to {@link ConnectionState#SUSPENDED} only if not already suspended and not lost
  
  @return true if connection is set to SUSPENDED