rtl_tcp: clean up error handling

Signed-off-by: Steve Markgraf <steve@steve-m.de>