Is this needed, if you run cleanup using register_shutdown_function function above?