I think the g:isManager call in the custom tag lib is causing the timeout.