Clean up server error and no results handling in rt-server

Change-Id: I8bfe48cd5cb1c62bf6d416afae792e4ea88e7651