update for code review feedback: remove persistentConnection parameter that is not using now