checking network availability before posting a request
TODO