implemented query call - defunkt because of missing timeout of socket class