You do not need to close the connections. You do however need to make sure that all write transactions (and read transactions if necessary) are ended and that a checkpoint has processed all journal pages and reset the journal. Once this state (a full checkpoint) is obtained a backup of the database files will be internally consistent. You must not permit "write" operations until the backup is complete although you may "read" as much as you like.