Bugfix/telegram bot
Fixed a bug where the plot generated for the telegram bot would be overridden if multiple jobs finish at the same time.
Note that currently the same plot object is used for the generation of the image, hence a lock is required. Could be further optimized by using different matplotlib objects instead of the default one. But concurrent job completion doesn't occur frequently anyway.