http requests synchronization