CLOUDIFY-1928 Allow overriding of TaskExecutor bean factory method