Removing trailing ';' and adding new line before connection closing loop.