FileBeat6.2.4 ERROR logstash/async.go:235 Failed to publish events caused by: write tcp 192.168.1.2:19616->192.168.1.3:5044: write: connection reset by peer

It's possible LS dropping the connection, because your Beat have been inactive for too long.

Have you tried setting client_activity_timeout to a bigger value in LS?
https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html#plugins-inputs-beats-client_inactivity_timeout