Fixed problem with multiple connections openned