Avoiding race conditions in GenServer | Hacker News Reader