Remove potential deadlock with broken connectors

Replace synchronized lock with a custom lock with timeout support

For close and updateSource stage change and then attempt to acquire
lock.  If lock is acquired, process change; otherwise lock holder
will process change before releasing lock.

For close, if lock can not be acquired, interrupt lock holder.
Remove obsolete test logging configuration
Fix logging for S3 tests
Support write and retry in PrestoS3FileSystem
Add tests for S3 table creation
Allow using IterableTransformer on arrays
Add error codes to categorize failures
Add error codes for Hive
Remove unused property
Global split assignment