File download hang test fix