Added timeout around synchronous call.