Implemented CloseInputPending state.