Change port and stop process