handle remote command timeout better