add mutex in actors

Link: https://github.com/GeneAssembly/biosal/issues/1
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>