Open connection bug fixes.