Add a timeout argument in CreateRessource.

This is usefull to bypass the 30 seconds default timeout.