Added raising an exception if network error occured during uploading a big file. Aproprate handler is implemented in middleware