close after each request, more robust
added comment