Added concurrent decorator for threading