Data source: http://rosettacode.org/wiki/Determine_if_only_one_instance_is_running
