Fixed mysql strict mysql mode (#3) & tasks not able to finish (#1)