Close a process via http