Don't print a traceback when remote host closes connection
Added hashindex test cases and removed unused BandIndex