Adapt timeout for capdemat ws