Receiver stops receiving after full file is received