add SshExecutor::wait() method

due to non-blocking socket operations