Implement change_database/2,3

for reconnect after manual "SELECT"