close listen port on exec