Added missing CLOSE code and reason params