finish receiver, add reconnect, simple test