XBEE ZB-Pro remote DIO problem

I am trying to set the DIO pin as output High/Low in a remote device in a Zigbee network from the coordinator. I am following exactly the example from the knowledge base http://knowledge.digi.com/articles/Knowledge_Base_Article/Using-Remote-AT-Commands-to-Toggle-an-IO-on-a-Remote-XBee-ZB-Radio
I am successful to an extend. The pin does set to DO High/Low but then after a few seconds it returns to its initial “disable” state.
I would like to fully control the IO pins on remote XBEE devices. Any help would be highly appreciated.
I am using an XBEE ZB-Pro S2C device with the latest 4059 firmwire

Look to the TO command for that specific line.