Add comment about register_shutdown_function