Have added apache http code with timeout 

Apache Http code is faster compared to android Http code when i tested, Apache Http code was faster