Add timeout when autoplaying