Reducing the number of open/close conncetions to the website