Wrapped requestTimeout global object in free function
Added setLedColor method