Fixed wrong use of promise in getServerStatus

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Modified use of promises in syncMelted by advice of @Lacrymology

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>