fix repack process to stop waiting for user input