Synchronization added in method execute to improve stability.