port-in-use doesn't crash program