new approach - thread safe queue for invalid alignments, write out at end