thread interrupt test