Added timeout to setEqual()