There is no server side setting that I know of to keep the connection from being closed. The way to keep the connection is for the client to actually login to the UPS via the NUT protocol. To my knowledge, this driver does not do that.
There is another NUT driver which does perform a login, which you can find here.