Problem: Some branches of s_client_handle_cmdpipe leak memory
Solution: Always free the method string, even on terminate