Implemented radio timeout; Changed option max_timeout to radio_timeout;
Refactoring