casting runninganimationtimeout exception