Added timeout to angular rate controller