Fix check server up bug
Do not reset database data if unneeded