This is the default behaviour of GenServer.
GenServer
It only does use GenServer behind the scene.
use GenServer