Make rest callback arguments optional
Add edts-server-down-hook