move killall to finally block