validateExecution depends on the type of the connection so It is
necesary to implement in each RemoteExecution.