here it seems need to be closed. but will it be good thing to try opening a single connection and use it while it is active instead opening/closing at each 5 seconds.