Fixed possible race conditions when streaming a file
Added request queue