Disconnect connection if file size is too large