add timeout and retry to remote command and check processes