making method public as it is used at inmobi
small fix
adding timeout