fix leakage in agent
Merge branch 'development' of github.com:Unitech/pm2 into development