Sorry I understand now after doing more research. I now understand that timeout only occurs when the pin has constant low or high if there are noise on the pin or any change of state, the timeout will reset and therefore a timeout will never happen for my case. Cause I connected it to a RF receiver pin and there will be noise if there are no signals present. My small experiment wouldn't work too cause I used it on the same board and its still connected to the RF receiver. Thanks for reading guys.

I still welcome suggestions on how to go about the problem. But I guess it would be a hardware problem now and not the problem with the command. Many thanks for reading.