Clean up post step callbacks memory leak