Added timeout before transition.-