add option to reuse ports or not