[fix] Check port availability