public function clean( $maxlifetime, $next ) {
		global $wpdb;

		$wpdb->query(
			$wpdb->prepare(
				"DELETE FROM {$wpdb->prefix}sm_sessions WHERE session_expiry < %s LIMIT %d",
				time(),
				1000
			)
		);

		return $next( $maxlifetime );
	}