making request with simple polling