shutdown synchronization
possible NPE
cleanup