Added shutdown timeout and fix shutdown deadlock
Added shutdown timeout and fix shutdown deadlock

stampzilla/stampzilla-go,stampzilla/stampzilla-go,stampzilla/stampzilla-go,stampzilla/stampzilla-go,stampzilla/stampzilla-go