Generic Task behavior that helps encapsulate errors and recover from them in classic GenStage workers.