correct tcp port to 8585 and delete table in defer