doing better validation of the connection in InteractDB