Implement a safer way of handling is as explained in https://github.com/luskaner/ageLANServer/issues/346#issuecomment-3775787530
Implement a safer way of handling is as explained in #346 (comment)