Added timeout after file is uploaded