Bug with always opened connections