Timeout for barrier operation