Using ctrl-c during checking the list of databases