Fix: get error cause after server.accept