fix: use getSyncFlags in Context.shutdown
fix: use getSyncFlags in Context.shutdown

Signed-off-by: HashEngineering <cdfd0e2929fd184ec34228d20f211727fcb487d4@gmail.com>

HashEngineering/dashj,HashEngineering/darkcoinj,HashEngineering/dashj,HashEngineering/dashj,HashEngineering/dashj,HashEngineering/darkcoinj,HashEngineering/darkcoinj