Replace killall -w with sleep