footer.php: Bug #8

Updated connection close strings to account for unset connect strings, as a result of changes for bug #8