set application_name after initializing new connection