Bugfix around jobs exiting prematurely after trimgalore