ZEPPELIN-122 prevent add resource more than twice in a same connection

[ZEPPELIN-122](https://zeppelin-project.atlassian.net/browse/ZEPPELIN-122)
prevent adding same resource more than twice, in a single connection.