avoid closing over `self`

`self` is a mutable var, Akka advises to never close over `self` in code that could be executed on a different thread