Tmp fix for multiple connection bug.