adding fix for address already in use bug