If you don't want him to run....then, don't let him out. You cannot keep doing the same thing and expect different results.