Add function sqimap_run_command which combines sending and receiving a