Removed debug outputs and adapted error handling when establishing connection to neo4j