Change start and stop mechanism for DynamicMySqlEntity to work on Linux