Keep refrence on VersionControlServer to prevent multiple event registration
Merge pull request #389 from pmiossec/prevent_multiple_register_events

Keep reference on VersionControlServer to prevent multiple event registration.