Replaced find_free_port with more generic version