sys: process: detach process in dtor

change to detaching process in dtor
This actually does nothing
Now detach() throws an exception when it is not joinable