Added detach to the connection so it couldn't be utilized