threads for regex are non blocking now!