fixes typo
just set the connection to null doesn't really need to check if it's null already