add a kill detached screens function