Merged a pull request about changing long to atomic long in SessionStatisticListener