Debug hung up threads