Fix for open connections