Fixed ping not cleaning up connections