fix(server): Server now returns after sending back errors