Ensure hook-callback is only called once