add hook when process is put into the background