fix(server): properly close flash transport
Merge branch 'pr-1041' into presubmit-stable-pr-1041

Conflicts:
	lib/server.js
chore: release v0.12.12