Handlers are singletons that have their before() and after() methods executed per API call with a Job object that represents the current request. This code is storing information about this Job at the class level, hence the code is not thread safe and the value can easily be overwritten. It is recommended not to mutate class properties from within the before() and after() methods, but instead declare these class properties as local variables within the before/after method.