If you catch him in the act, do something to distract him like say "hey!" or clap your hands and then immediatly escort him outside to finish. Once he finishes, praise him for going outside.